#include <iostream> 
#include <vector>
#include <algorithm>

using namespace std; 

int main (){

	vector <int> vect; 
	cout << "Introduce números (cualquier tecla para acabar)"<<endl; 
	int aux; 
	while (cin>>aux)
	{
		vect.push_back(aux);
	}
	
	sort(vect.begin(), vect.end());
	cout << "El vector ordenado es:"<<endl; 
	for (int i =0; i<vect.size(); i++)
		cout << vect[i];
	cout <<endl; 

}
